from layers.board import Board
from tiles.soil import Soil
import random

class SoilLayer(Board):
    def __init__(self):
        super(SoilLayer, self).__init__(defaultTile = Soil)
        
        
class SoilGenerator():
    def generateLayer(self):
        layer = SoilLayer()
        for x in layer.coords:
            for y in x:
                y.setQuality(random.randint(0,100))
        return layer